package com.smallrig.mall.template.cola;

import com.smallrig.extension.anno.Extension;
import com.smallrig.extension.statemachine.Action;
import com.smallrig.extension.statemachine.Event;
import com.smallrig.mall.template.entity.Order;
import com.smallrig.mall.template.state.OrderStatus;
import com.smallrig.mall.template.state.OrderStatusChangeEvent;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.lang.reflect.Method;

/**
 * 待支付
 */
@Service
@Slf4j
public class WaitPayState extends AbstractOrderState implements OrderState {


    public void pay(OrderStatus from, OrderStatus to, OrderStatusChangeEvent event, Order order) {
        System.out.println("pay");
    }


}
